package com.gydz.gydzbaseframeworkboot.CommonConfig.service.impl;

import com.gydz.gydzbaseframeworkboot.CommonConfig.dao.BasisDataMapper;
import com.gydz.gydzbaseframeworkboot.CommonConfig.domain.BasisData;
import com.gydz.gydzbaseframeworkboot.CommonConfig.service.BasisDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BasisDataServiceImpl implements BasisDataService {

    @Autowired
    BasisDataMapper basisDataMapper;

    @Override
    public List<BasisData> selectBasisDataAll(String tableName) {
        return basisDataMapper.selectBasisDataAll(tableName);
    }

    @Override
    public List<BasisData> selectBasisDataAllIsYingShe(String tableName) {
        return basisDataMapper.selectBasisDataAllIsYingShe(tableName);
    }
}
